
package com.cmcc.mss.pms_psp_importcontractpaymentinvoiceconfirmresultsrv;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Response complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Response">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="ErrorFlag" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="TotalRecord" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="TotalPage" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="PageSize" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="CurrentPage" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="InstanceId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="ContractPaymentInvoiceConfirmResultList" type="{http://mss.cmcc.com/PMS_PSP_ImportContractPaymentInvoiceConfirmResultSrv}ContractPaymentInvoiceConfirmResult" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Response", propOrder = {
    "errorFlag",
    "errorMessage",
    "totalRecord",
    "totalPage",
    "pageSize",
    "currentPage",
    "instanceId",
    "contractPaymentInvoiceConfirmResultList"
})
public class Response {

    @XmlElement(name = "ErrorFlag", required = true, nillable = true)
    protected String errorFlag;
    @XmlElement(name = "ErrorMessage", required = true, nillable = true)
    protected String errorMessage;
    @XmlElement(name = "TotalRecord", required = true, type = Long.class, nillable = true)
    protected Long totalRecord;
    @XmlElement(name = "TotalPage", required = true, type = Long.class, nillable = true)
    protected Long totalPage;
    @XmlElement(name = "PageSize", required = true, type = Long.class, nillable = true)
    protected Long pageSize;
    @XmlElement(name = "CurrentPage", required = true, type = Long.class, nillable = true)
    protected Long currentPage;
    @XmlElement(name = "InstanceId", required = true, type = Long.class, nillable = true)
    protected Long instanceId;
    @XmlElement(name = "ContractPaymentInvoiceConfirmResultList")
    protected List<ContractPaymentInvoiceConfirmResult> contractPaymentInvoiceConfirmResultList;

    /**
     * Gets the value of the errorFlag property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getErrorFlag() {
        return errorFlag;
    }

    /**
     * Sets the value of the errorFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setErrorFlag(String value) {
        this.errorFlag = value;
    }

    /**
     * Gets the value of the errorMessage property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getErrorMessage() {
        return errorMessage;
    }

    /**
     * Sets the value of the errorMessage property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setErrorMessage(String value) {
        this.errorMessage = value;
    }

    /**
     * Gets the value of the totalRecord property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getTotalRecord() {
        return totalRecord;
    }

    /**
     * Sets the value of the totalRecord property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setTotalRecord(Long value) {
        this.totalRecord = value;
    }

    /**
     * Gets the value of the totalPage property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getTotalPage() {
        return totalPage;
    }

    /**
     * Sets the value of the totalPage property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setTotalPage(Long value) {
        this.totalPage = value;
    }

    /**
     * Gets the value of the pageSize property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getPageSize() {
        return pageSize;
    }

    /**
     * Sets the value of the pageSize property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setPageSize(Long value) {
        this.pageSize = value;
    }

    /**
     * Gets the value of the currentPage property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getCurrentPage() {
        return currentPage;
    }

    /**
     * Sets the value of the currentPage property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setCurrentPage(Long value) {
        this.currentPage = value;
    }

    /**
     * Gets the value of the instanceId property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getInstanceId() {
        return instanceId;
    }

    /**
     * Sets the value of the instanceId property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setInstanceId(Long value) {
        this.instanceId = value;
    }

    /**
     * Gets the value of the contractPaymentInvoiceConfirmResultList property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the contractPaymentInvoiceConfirmResultList property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getContractPaymentInvoiceConfirmResultList().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ContractPaymentInvoiceConfirmResult }
     * 
     * 
     */
    public List<ContractPaymentInvoiceConfirmResult> getContractPaymentInvoiceConfirmResultList() {
        if (contractPaymentInvoiceConfirmResultList == null) {
            contractPaymentInvoiceConfirmResultList = new ArrayList<ContractPaymentInvoiceConfirmResult>();
        }
        return this.contractPaymentInvoiceConfirmResultList;
    }

}
